import { Entity, Column, PrimaryColumn, PrimaryGeneratedColumn } from 'typeorm';

@Entity({ name: 'announce' })
export class Announce {
	@PrimaryGeneratedColumn({ name: 'an_id' })
	anId: number;

	@Column({ name: 'an_title' })
	anTitle: string;

	@Column({ name: 'an_time' })
	anTime: Date;

	@Column({
		name: 'an_content',
	})
	anContent: string;

	@Column({
		name: 'an_status'
	})
	anStatus: number

	@Column({
		name: 'an_tu'
	})
	anTu: number
}